<%@ page language="java" pageEncoding="UTF-8"%>

<div ng-controller="SoftwareRecommendIndexController">
	<div class="panel panel-default" ng-show="softwares!=null && softwares.length!=0">
		<div class="panel-heading">
			最新推荐软件
			<span class="pull-right">
				<a ng-href="#/software/recommend">更多»</a>
			</span>
		</div>
		<div class="panel-body">
			<div ng-repeat="software in softwares">
				<a ng-href="#/software/{{software.id}}" title="{{software.title | textOnly}}">
					<img ng-src="{{software.icon | path}}" style="width:30px;height:30px;"> {{software.title | textOnly | summary:20}}
				</a>
				
				<div ng-show="$index==0" style="color: #777;">
					{{software.introduce | textOnly | summary:80}}
				</div>
				<hr/>
			</div>
		</div>
	</div>
</div>